package com.vmj.instructions.base;

import com.vmj.common.BytesReader;
import com.vmj.rtda.Frame;

/**
 * Created by yangshoujun on 2017/8/18 下午11:27.
 */
public class Index16Instruction implements Instruction {

    private int index;

    public void fetchOperands(BytesReader reader) {
        index = reader.readShort();
    }

    public void execute(Frame frame) {

    }

    public int getIndex() {
        return index;
    }

    public void setIndex(int index) {
        this.index = index;
    }
}
